<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.PreparedStatement" %>
<%@ page import="java.sql.ResultSet" %>
<%@ page import="com.minxi.java.Dao.impl.ALL" %>
<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024-06-24
  Time: 10:25
  To change this template use File | Settings | File Templates.
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    ALL all = new ALL();
    ArrayList xianshi = all.xianshi();
    request.setAttribute("abc",xianshi);
%>

<a href="index.jsp">跳转add</a>
<table>
    <tr>
        <td>航班编号</td>
        <td>航班日期</td>
        <td>起点</td>
        <td>终点</td>
        <td>价格(元)</td>
        <td>航班类型</td>
        <td>航空公司</td>
    </tr>
    <c:forEach items="${abc}" var="a">
        <tr >
            <td>${a.aid }</td>
            <td>${a.adate }</td>
            <td>${a.start }</td>
            <td>${a.end }</td>
            <td>${a.price }</td>
            <td>${a.type }</td>
            <td>${a.cid }</td>
            <td><a href=""></a></td>
        </tr>
    </c:forEach>
</table>






</form>
</body>
</html>
